package com.home.qh.dao;

import java.util.List;

import com.home.qh.model.Itinerary;
import com.home.qh.model.Voyage;

/**
 * Role Data Access Object (DAO) interface.
 *
 * @author <a href="mailto:matt@raibledesigns.com">Matt Raible</a>
 */
public interface VoyageDao extends GenericDao<Voyage, Long> {
    /**
     * Gets role information based on VoyageDao
     * @param VoyageDao the CountryDao
     * @return populated role object
     */
	List<Voyage> getVoyageByCodeAndName(String voyageCode, String voyageName);
	
	List<Voyage> getVoyageByVoyage(Voyage voyage, String sort, boolean desc, int startResult, int maxResults);

	List<Itinerary> getItinerariesByVoyage(long voyageId);
    
}
